package com.ruoyi.carShop.service.impl;

import com.ruoyi.carShop.mapper.CouponsZhMapper;
import com.ruoyi.carShop.service.CouponsZhService;
import com.ruoyi.system.api.domain.Coupons;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：张因丛
 * @Date ：2024/9/13 20:44
 */
@Service
public class CouponsZhServiceImpl implements CouponsZhService {

    @Autowired
    private CouponsZhMapper couponsZhMapper;
    @Override
    public List<Coupons> selectForCouponsZh() {
        return couponsZhMapper.selectForCouponsZh();
    }

    @Override
    public List<Coupons> selectEndCouponsZh() {
        return couponsZhMapper.selectEndCouponsZh();
    }

    @Override
    public Integer insertCouponsZh(Coupons Coupons) {
        return couponsZhMapper.insertCouponsZh(Coupons);
    }


}
